package com.ultrasoft.farmasoft.service;

import java.util.List;


//import com.ultrasoft.farmasoft.domain.Country;
//import com.ultrasoft.farmasoft.domain.Region;
import com.ultrasoft.farmasoft.domain.Article;
import com.ultrasoft.farmasoft.domain.Section;

public interface PortadaDepartmentsService {
	
	//ARTICLE
	public List<Article> getArticleList();
	public List<Article> getArticleList(Integer idArticle);
	public List<Article> getArticleListWithIdRegion(Integer idRegion);
	public List<Article> getArticleListWithIdRegionActive(Integer idRegion, boolean active);
	public List<Article> getArticleListWhitUserId(Integer createUserId);
	public List<Article> getArticleDistintRegionId(); //distinct article
	public List<Article> getArticleDistinctRegionRegains(Integer idRegion);
	public Article searchArticleByID(Integer idArticle);
	public void updateArticle(Article article);
	public void removeArticle(Article article);
	public void addArticle(Article article);
	
	//SECTION
	public List<Section> getSectionList();
	public List<Section> getSectionList(Integer idSection);
	public List<Section> getSectionListWithIdArticle(Integer idArticle);
	public List<Section> getSectionListWithIdArticleActive(Integer idArticle, boolean active);
	public List<Section> getSectionWithRegionId(Integer idRegion, boolean active);
	public List<Section> getListDistictSectionWithRegionId(Integer idRegion, boolean active);
	public Section searchSectionByID(Integer idSection);
	public void updateSection(Section section);
	public void removeSection(Section section);
	public void addSection(Section section);
}
